package demo1;

import java.util.Scanner;

/**
 * @Description
 */

public class Test {

    public static void main(String[] args) {
        //Scanner scanner = new Scanner(System.in);
        //int key = scanner.nextInt();
        MySingleList mySingleList = new MySingleList();
        mySingleList.crateList();

        //System.out.println(mySingleList.size());
       // System.out.println(mySingleList.contains(key));
        mySingleList.addFirst(6);
        mySingleList.addFirst(7);
        mySingleList.addFirst(8);
        mySingleList.show();
        mySingleList.addList(1000);
        mySingleList.show();

    }
}
